<?xml version="1.0"?>
<CslaGeneratorUnit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Params>
    <DefaultNamespace>DocStore.Business</DefaultNamespace>
    <DefaultFolder />
    <SmartDateDefault>true</SmartDateDefault>
    <AutoCriteria>true</AutoCriteria>
    <AutoTimestampCriteria>false</AutoTimestampCriteria>
    <DatesDefaultStringWithTypeConversion>true</DatesDefaultStringWithTypeConversion>
    <ReadOnlyObjectsCopyAuditing>false</ReadOnlyObjectsCopyAuditing>
    <ReadOnlyObjectsCopyTimestamp>false</ReadOnlyObjectsCopyTimestamp>
    <DefaultDataBase>DocStore</DefaultDataBase>
    <DefaultTransactionType>ADO</DefaultTransactionType>
    <DefaultPersistenceType>SqlConnectionManager</DefaultPersistenceType>
    <DefaultDatabaseContextObject />
    <ORBChildPropertySuffix>s</ORBChildPropertySuffix>
    <ORBCollectionSuffix>Coll</ORBCollectionSuffix>
    <ORBSingleSPSuffix>Relation</ORBSingleSPSuffix>
    <ORBItemsUseSingleSP>true</ORBItemsUseSingleSP>
    <SpAddPrefix>Add</SpAddPrefix>
    <SpDeletePrefix>Delete</SpDeletePrefix>
    <SpUpdatePrefix>Update</SpUpdatePrefix>
    <SpGetPrefix>Get</SpGetPrefix>
    <SpGeneralPrefix />
    <SpAddSuffix />
    <SpDeleteSuffix />
    <SpUpdateSuffix />
    <SpGetSuffix />
    <SpGeneralSuffix />
    <RegenSpNameOnObjectRename>true</RegenSpNameOnObjectRename>
    <SpBoolSoftDeleteColumn>IsActive</SpBoolSoftDeleteColumn>
    <SpIntSoftDeleteColumn />
    <SpIgnoreFilterWhenSoftDeleteIsParam>true</SpIgnoreFilterWhenSoftDeleteIsParam>
    <SpRemoveChildBeforeParent>true</SpRemoveChildBeforeParent>
    <IDGuidDefaultValue>Guid.NewGuid()</IDGuidDefaultValue>
    <IDInt16DefaultValue>_lastId</IDInt16DefaultValue>
    <IDInt32DefaultValue>_lastId</IDInt32DefaultValue>
    <IDInt64DefaultValue>_lastId</IDInt64DefaultValue>
    <FieldNamePrefix>_</FieldNamePrefix>
    <DelegateNamePrefix>d_</DelegateNamePrefix>
    <CreationDateColumn>CreateDate</CreationDateColumn>
    <CreationUserColumn>CreateUserID</CreationUserColumn>
    <ChangedDateColumn>ChangeDate</ChangedDateColumn>
    <ChangedUserColumn>ChangeUserID</ChangedUserColumn>
    <LogDateAndTime>true</LogDateAndTime>
    <LogInUtc>false</LogInUtc>
    <GetUserMethod>UserInformation.UserId</GetUserMethod>
    <EnforceGenericInheritance>true</EnforceGenericInheritance>
  </Params>
  <GenerationParams>
    <SaveBeforeGenerate>true</SaveBeforeGenerate>
    <TargetFramework>CSLA45</TargetFramework>
    <WriteTodo>false</WriteTodo>
    <BackupOldSource>false</BackupOldSource>
    <RetryOnFileBusy>true</RetryOnFileBusy>
    <SeparateNamespaces>true</SeparateNamespaces>
    <SeparateBaseClasses>false</SeparateBaseClasses>
    <UseDotDesignerFileNameConvention>true</UseDotDesignerFileNameConvention>
    <OutputLanguage>VB</OutputLanguage>
    <UpdateOnlyDirtyChildren>true</UpdateOnlyDirtyChildren>
    <PropertyMode>Default</PropertyMode>
    <GenerateAuthorization>FullSupport</GenerateAuthorization>
    <HeaderVerbosity>Full</HeaderVerbosity>
    <UseSingleCriteria>false</UseSingleCriteria>
    <UsePublicPropertyInfo>true</UsePublicPropertyInfo>
    <UseChildFactory>true</UseChildFactory>
    <ForceReadOnlyProperties>true</ForceReadOnlyProperties>
    <BaseFilenameSuffix>.Designer</BaseFilenameSuffix>
    <ExtendedFilenameSuffix />
    <ClassCommentFilenameSuffix />
    <SeparateClassComment>false</SeparateClassComment>
    <BaseNamespace>DocStore.Business</BaseNamespace>
    <UtilitiesNamespace>DocStore.Business.Util</UtilitiesNamespace>
    <UtilitiesFolder />
    <DalInterfaceNamespace>DocStore.DataAccess</DalInterfaceNamespace>
    <DalObjectNamespace>DocStore.DataAccess.Sql</DalObjectNamespace>
    <GenerateSprocs>true</GenerateSprocs>
    <OneSpFilePerObject>true</OneSpFilePerObject>
    <UseInlineQueries>SpecifyByObject</UseInlineQueries>
    <ReportObjectNotFound>None</ReportObjectNotFound>
    <GenerateQueriesWithSchema>false</GenerateQueriesWithSchema>
    <GenerateDatabaseClass>true</GenerateDatabaseClass>
    <DalName />
    <UsesLazyGetProperty>false</UsesLazyGetProperty>
    <UsesCslaAuthorizationProvider>false</UsesCslaAuthorizationProvider>
    <GenerateWinForms>true</GenerateWinForms>
    <GenerateWPF>true</GenerateWPF>
    <GenerateSilverlight4>false</GenerateSilverlight4>
    <SilverlightUsingServices>false</SilverlightUsingServices>
    <DatabaseConnection>DocStore</DatabaseConnection>
    <GenerateDTO>false</GenerateDTO>
    <GenerateDalInterface>false</GenerateDalInterface>
    <GenerateDalObject>false</GenerateDalObject>
    <GenerateSynchronous>true</GenerateSynchronous>
    <GenerateAsynchronous>true</GenerateAsynchronous>
    <GenerationDbProviderCollection />
  </GenerationParams>
  <CslaObjects>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>--- Base classes ---</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>BusinessBaseDoc</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>Csla</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile>C:\VS Projects\CslaGenFork 4.5\CoverageTest\Dependencies\Csla.dll</AssemblyFile>
        <Type>BusinessBase&lt;T&gt;</Type>
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>BusinessBaseDoc</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyNameValueListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>KEY,VALUE</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyNameValueListBaseKV</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyReadOnlyListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>LIST,OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyReadOnlyListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyReadOnlyBindingListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>LIST,OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyReadOnlyBindingListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyDynamicListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyDynamicListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyDynamicBindingListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>ITEM</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyDynamicBindingListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyBusinessBindingListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>LIST,OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyBusinessBindingListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyBusinessListBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>LIST,OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyBusinessListBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyBusinessBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyBusinessBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>MyReadOnlyBase</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>OBJ</GenericArguments>
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>MyReadOnlyBaseT</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>--- Business Classes ---</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SampleUnitOfWork</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyReadOnlyBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SampleUnitOfWork</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Doc</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>Doc</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Folder</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>Folder</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocList</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>CircTypeTagNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active tags for circulation types</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyNameValueListBase&lt;KEY,VALUE&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircTypeTagNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircTypeID</ParameterName>
          <Name>CircTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCircTypeTagNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteCircTypeTagNVL</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>CircTypeID</ValueColumn>
      <NameColumn>CircTypeTag</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DecisionTypeTagNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active tags for decision types</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DecisionTypeTagNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DecisionTypeID</ParameterName>
          <Name>DecisionTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DecisionTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DecisionTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Decision Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DecisionTypeTag</ParameterName>
          <Name>DecisionTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DecisionTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DecisionTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Decision Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDecisionTypeTagNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteDecisionTypeTagNVL</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>DecisionTypeID</ValueColumn>
      <NameColumn>DecisionTypeTag</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CircTypeTagEditDynaColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyDynamicListBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyDynamicBindingListBase&lt;ITEM&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircTypeTagEditDynaColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCircTypeTagEditDynaColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>CircTypeTagEditDyna</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddCircTypeTagEditDynaColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateCircTypeTagEditDynaColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CircTypeTagEditDyna</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Textual tags for standard circulation types</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircTypeTagEditDyna</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircTypeID</ParameterName>
          <Name>CircTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaDelete</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>CircTypeID</ParameterName>
              <Name>CircTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CircTypeID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>CircTypeTags</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteCircTypeTagEditDyna</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>CircTypeTagEditDynaColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddCircTypeTagEditDyna</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateCircTypeTagEditDyna</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CircTypeTagEditColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyBusinessListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyBusinessBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircTypeTagEditColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCircTypeTagEditColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>CircTypeTagEdit</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddCircTypeTagEditColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateCircTypeTagEditColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CircTypeTagEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Textual tags for standard circulation types</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircTypeTagEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircTypeID</ParameterName>
          <Name>CircTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>CircTypeTags</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>CircTypeTagEditColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddCircTypeTagEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateCircTypeTagEdit</UpdateProcedureName>
      <DeleteProcedureName>DeleteCircTypeTagEdit</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>CircList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of circulations of documents and folders</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyReadOnlyListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyReadOnlyBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGetByObject</Name>
          <CriteriaClassMode>CriteriaBase</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocID</ParameterName>
              <Name>DocID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Circ</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>true</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>FolderID</ParameterName>
              <Name>FolderID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Circ</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>true</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCircList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteCircList</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>CircInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>CircInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Circulation of document or folder</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyReadOnlyBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CircInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircID</ParameterName>
          <Name>CircID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReply</ParameterName>
          <Name>NeedsReply</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReplyDecision</ParameterName>
          <Name>NeedsReplyDecision</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReplyDecision</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply Decision</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SenderEntityID</ParameterName>
          <Name>SenderEntityID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SenderEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender Entity ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SentDateTime</ParameterName>
          <Name>SentDateTime</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SentDateTime</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sent Date Time</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToReply</ParameterName>
          <Name>DaysToReply</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToLive</ParameterName>
          <Name>DaysToLive</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToLive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Live</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>CircList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocEditGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocEditGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Doc</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>Doc</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocClassNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocClassNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocTypeNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocStatusNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocStatusNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>UserNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>UserNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocEditUoWCreator</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyReadOnlyBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocEditUoWCreator</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Doc</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>Doc</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocClassNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocClassNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocTypeNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocStatusNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocStatusNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>UserNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>UserNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Getter</UnitOfWorkType>
      <ObjectName>DocEditUoWGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocEditUoWGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Doc</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>Doc</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocClassNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocClassNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocTypeNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocStatusNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocStatusNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>UserNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>UserNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>Doc</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>System.Collections.Generic</string>
        <string>Csla.Rules.CommonRules</string>
        <string>CslaGenFork.Rules.AuthorizationRules</string>
        <string>CslaGenFork.Rules.DateRules</string>
        <string>CslaGenFork.Rules.TransformationRules</string>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>BusinessBaseDoc&lt;T&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType>DocEditGetter</UseUnitOfWorkType>
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>Doc</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Folders</ParameterName>
          <Name>Folders</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Folders</FriendlyName>
          <TypeName>DocFolderColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>DocID</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
        <ChildProperty>
          <ParameterName>Circulations</ParameterName>
          <Name>Circulations</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Circulations</FriendlyName>
          <TypeName>DocCircColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>DocID</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties>
        <ChildProperty>
          <ParameterName>EditContent</ParameterName>
          <Name>EditContent</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Edit Content</FriendlyName>
          <TypeName>DocContent</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>DocID</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildProperties>
      <InheritedChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Contents</ParameterName>
          <Name>Contents</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Contents</FriendlyName>
          <TypeName>DocContentList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters />
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </InheritedChildCollectionProperties>
      <InheritedChildProperties>
        <ChildProperty>
          <ParameterName>ViewContent</ParameterName>
          <Name>ViewContent</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>View Content</FriendlyName>
          <TypeName>DocContentRO</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters />
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </InheritedChildProperties>
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties>
        <ValueProperty>
          <ParameterName>Secret</ParameterName>
          <Name>Secret</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Secret</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Secret</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties>
              <string>Action</string>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsOwnerOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\CslaGenFork 4.5\CoverageTest\Dependencies\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>IsOwnerOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">ReadProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Secret</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>creatorProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>getCurrentUserDelegate</Name>
                    <Type>Func&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">ReadProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Secret</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>creatorProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">CreateUserID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>getCurrentUserDelegate</Name>
                    <Type>Func&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Function() UserInformation.UserId</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Admin,Manager</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Action</string>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsOwner</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\CslaGenFork 4.5\CoverageTest\Dependencies\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>IsOwner</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Secret</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>creatorProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">CreateUserID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>getCurrentUserDelegate</Name>
                    <Type>Func&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Empty</GenericType>
                    <Value xsi:type="xsd:string">Function() UserInformation.UserId</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </InheritedValueProperties>
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document Class ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>RestrictByStatusOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.RestrictByStatusOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocClassID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocClassID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocStatusID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">4</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document Type ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsNewOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.IsNewOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocTypeID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocTypeID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SenderID</ParameterName>
          <Name>SenderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Entity ID of the document sender.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SenderEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">SenderID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">SenderID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">SenderID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsNewOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.IsNewOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">SenderID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">SenderID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RecipientID</ParameterName>
          <Name>RecipientID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Entity ID of the document recipient.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RecipientEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Recipient ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">RecipientID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">RecipientID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">RecipientID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsNewOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.IsNewOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">RecipientID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">RecipientID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocRef</ParameterName>
          <Name>DocRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>40</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CslaGenFork.Rules.TransformationRules.CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocRef</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>MaxLength</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Csla.Rules.CommonRules.MaxLength</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">35</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsEmptyOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.IsEmptyOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocRef</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocRef</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocDate</ParameterName>
          <Name>DocDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Today)</DefaultValue>
          <Attributes>
            <string>DateNotInFutureAttr("Please pay attention: {0} can't be in the future.")</string>
          </Attributes>
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Csla.Rules.CommonRules.Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocDate</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocDate</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">DocDate</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>IsNewOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.IsNewOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocDate</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocDate</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Must have!</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>MaxLength</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>MaxLength</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">255</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Object</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>RestrictByStatusOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.RestrictByStatusOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Subject</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Subject</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocStatusID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">3,4</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocStatusID</ParameterName>
          <Name>DocStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocStatusID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocStatusID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocStatusID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>Custom</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties>
              <string>Element</string>
            </BaseRuleProperties>
            <Name>RestrictByStatusOrIsInRole</Name>
            <ObjectName />
            <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
            <Type>CslaGenFork.Rules.AuthorizationRules.RestrictByStatusOrIsInRole</Type>
            <Constructors>
              <BusinessRuleConstructor>
                <Name>Constructor #1</Name>
                <IsActive>false</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocStatusID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>List&lt;String&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string" />
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
              <BusinessRuleConstructor>
                <Name>Constructor #2 (Active)</Name>
                <IsActive>true</IsActive>
                <ConstructorParameters>
                  <BusinessRuleConstructorParameter>
                    <Name>action</Name>
                    <Type>AuthorizationActions</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">WriteProperty</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>element</Name>
                    <Type>IMemberInfo</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocStatusID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>statusProperty</Name>
                    <Type>String</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">DocStatusID</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>restrictedStatus</Name>
                    <Type>List&lt;Int32&gt;</Type>
                    <IsParams>false</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>true</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">4</Value>
                  </BusinessRuleConstructorParameter>
                  <BusinessRuleConstructorParameter>
                    <Name>roles</Name>
                    <Type>String[]</Type>
                    <IsParams>true</IsParams>
                    <IsGenericType>false</IsGenericType>
                    <IsGenericParameter>false</IsGenericParameter>
                    <GenericType>Object</GenericType>
                    <Value xsi:type="xsd:string">Admin</Value>
                  </BusinessRuleConstructorParameter>
                </ConstructorParameters>
              </BusinessRuleConstructor>
            </Constructors>
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>DateTime</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Date.Now</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>DateTime</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocID</ParameterName>
              <Name>DocID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDoc</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDoc</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDoc</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocRef</ParameterName>
          <Name>DocRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>40</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Author</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Author</UpdateRoles>
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>false</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocContent</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document files</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyBusinessBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocContent</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CheckInUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CheckInUser</BaseName>
          <SourcePropertyName>CheckInUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CheckOutUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CheckOutUser</BaseName>
          <SourcePropertyName>CheckOutUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocContentID</ParameterName>
          <Name>DocContentID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocContentID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Content ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Version</ParameterName>
          <Name>Version</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Version</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>CShort(Fix(1))</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileContent</ParameterName>
          <Name>FileContent</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Content</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>New Byte() {}</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileSize</ParameterName>
          <Name>FileSize</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileSize</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Size</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>0</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileType</ParameterName>
          <Name>FileType</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileType</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Type</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>""</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInDate</ParameterName>
          <Name>CheckInDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in date</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInUserID</ParameterName>
          <Name>CheckInUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in user ID</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInComment</ParameterName>
          <Name>CheckInComment</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in comment</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInComment</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Comment</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>"Main content"</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutDate</ParameterName>
          <Name>CheckOutDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Check-out date</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>UpdateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutUserID</ParameterName>
          <Name>CheckOutUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Check-out user ID</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>UpdateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>Doc</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocContent</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocContent</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocContent</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocContentRO</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document files</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocContentRO</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocContentID</ParameterName>
          <Name>DocContentID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocContentID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Content ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Version</ParameterName>
          <Name>Version</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Version</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileSize</ParameterName>
          <Name>FileSize</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileSize</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Size</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileType</ParameterName>
          <Name>FileType</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileType</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Type</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInDate</ParameterName>
          <Name>CheckInDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in date</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInUserID</ParameterName>
          <Name>CheckInUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in user ID</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInComment</ParameterName>
          <Name>CheckInComment</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Check-in comment</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInComment</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Comment</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutDate</ParameterName>
          <Name>CheckOutDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Check-out date</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutUserID</ParameterName>
          <Name>CheckOutUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Check-out user ID</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>Doc</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocFolderColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of folders where this document is archived</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyBusinessListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyBusinessBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocFolderColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>Doc</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocFolder</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocFolderColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocFolderColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocFolder</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Folder where this document is archived</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocFolder</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderRef</ParameterName>
          <Name>FolderRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Year</ParameterName>
          <Name>Year</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Year</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Year</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderID</ParameterName>
              <Name>FolderID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocsFolders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocFolderColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocFolderRelation</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocFolderRelation</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocFolderRelation</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Archivist</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Author</UpdateRoles>
      <DeleteRoles>Admin,Manager</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocCircColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of circulations of this document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocCircColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>Doc</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocCirc</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocCircColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocCircColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocCirc</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Circulation of this document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyBusinessBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocCirc</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircID</ParameterName>
          <Name>CircID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReply</ParameterName>
          <Name>NeedsReply</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReplyDecision</ParameterName>
          <Name>NeedsReplyDecision</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReplyDecision</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply Decision</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Notes</ParameterName>
          <Name>Notes</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Notes</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Notes</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>TagNotesCert</ParameterName>
          <Name>TagNotesCert</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>TagNotesCert</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Tag Notes Cert</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SenderEntityID</ParameterName>
          <Name>SenderEntityID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SenderEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender Entity ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SentDateTime</ParameterName>
          <Name>SentDateTime</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SentDateTime</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sent Date Time</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToReply</ParameterName>
          <Name>DaysToReply</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToLive</ParameterName>
          <Name>DaysToLive</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToLive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Live</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocCircColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocCirc</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocCirc</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocCirc</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocContentList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of contents of this document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocContentList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>Doc</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocContentInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocContentInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Content of this document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyReadOnlyBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocContentInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocContentID</ParameterName>
          <Name>DocContentID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocContentID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Content ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocContentOrder</ParameterName>
          <Name>DocContentOrder</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Get the document content order number.</Summary>
          <Remarks>1 =&gt; own image / &gt; 1 =&gt; attachements</Remarks>
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocContentOrder</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Content Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Version</ParameterName>
          <Name>Version</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Version</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileSize</ParameterName>
          <Name>FileSize</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileSize</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Size</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FileType</ParameterName>
          <Name>FileType</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FileType</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>File Type</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInDate</ParameterName>
          <Name>CheckInDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the Check-in date.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInUserID</ParameterName>
          <Name>CheckInUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the Check-in user ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckInComment</ParameterName>
          <Name>CheckInComment</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the Check-in comment.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckInComment</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check In Note</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutDate</ParameterName>
          <Name>CheckOutDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Gets the Check-out date.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CheckOutUserID</ParameterName>
          <Name>CheckOutUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary>Gets the Check-out user ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CheckOutUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocContents</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Check Out User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>DocContentList</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the Document ID.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Getter</UnitOfWorkType>
      <ObjectName>DocListGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocListGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocList</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocClassNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocClassNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocTypeNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocStatusNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocStatusNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>UserNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>UserNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>false</GenerateSprocs>
      <GenerateInlineQueries>
        <string>Read</string>
      </GenerateInlineQueries>
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of document's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyReadOnlyListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyReadOnlyBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetDocList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>DocListFilteredCriteria</Name>
          <CriteriaClassMode>CriteriaBase</CriteriaClassMode>
          <NestedClass>false</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocID</ParameterName>
              <Name>DocID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>DocClassID</ParameterName>
              <Name>DocClassID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocClassID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>DocTypeID</ParameterName>
              <Name>DocTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocTypeID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>SenderID</ParameterName>
              <Name>SenderID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>SenderEntityID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>RecipientID</ParameterName>
              <Name>RecipientID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>RecipientEntityID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>DocRef</ParameterName>
              <Name>DocRef</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>40</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocRef</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>true</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>DocDate</ParameterName>
              <Name>DocDate</Name>
              <PropertyType>SmartDate</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Date</DataType>
                <NativeType>date</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocDate</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>Subject</ParameterName>
              <Name>Subject</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>255</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Subject</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>DocStatusID</ParameterName>
              <Name>DocStatusID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocStatusID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>CreateDate</ParameterName>
              <Name>CreateDate</Name>
              <PropertyType>SmartDate</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>DateTime2</DataType>
                <NativeType>datetime2</NativeType>
                <Size>7</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CreateDate</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>CreateUserID</ParameterName>
              <Name>CreateUserID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CreateUserID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>ChangeDate</ParameterName>
              <Name>ChangeDate</Name>
              <PropertyType>SmartDate</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>DateTime2</DataType>
                <NativeType>datetime2</NativeType>
                <Size>7</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ChangeDate</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>ChangeUserID</ParameterName>
              <Name>ChangeUserID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ChangeUserID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Docs</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType>Doc</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>DocClass</BaseName>
          <SourcePropertyName>DocClassID</SourcePropertyName>
          <NVLConverter>DocClassNVL.GetDocClassNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>DocType</BaseName>
          <SourcePropertyName>DocTypeID</SourcePropertyName>
          <NVLConverter>DocTypeNVL.GetDocTypeNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>SenderName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>Sender</BaseName>
          <SourcePropertyName>SenderID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>RecipientName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Recipient Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>Recipient</BaseName>
          <SourcePropertyName>RecipientID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>DocStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>DocStatus</BaseName>
          <SourcePropertyName>DocStatusID</SourcePropertyName>
          <NVLConverter>DocStatusNVL.GetDocStatusNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocID</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocClassID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocClassID</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocTypeID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocTypeID</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>SenderID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>SenderID</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>RecipientID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>RecipientID</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocRef</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocRef</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocDate</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocDate</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Subject</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Subject</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>DocStatusID</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>DocStatusID</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsProtected</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsProtected</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SenderID</ParameterName>
          <Name>SenderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SenderEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsProtected</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RecipientID</ParameterName>
          <Name>RecipientID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RecipientEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Recipient ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsProtected</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocRef</ParameterName>
          <Name>DocRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>40</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocDate</ParameterName>
          <Name>DocDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocStatusID</ParameterName>
          <Name>DocStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsProtected</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>DocList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocClass</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Classes of document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClass</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>use ID = -1 with empty Name for accepting optional specification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassName</ParameterName>
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocClassID</ParameterName>
              <Name>DocClassID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocClassID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocClasses</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocClass</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocClass</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClass</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClass</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocClassEditColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyBusinessListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyBusinessBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType>DocClassEditCollGetter</UseUnitOfWorkType>
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassEditColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocClassEditColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocClassEdit</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClassEditColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClassEditColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocClassEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Classes of document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>System.ComponentModel.DataAnnotations</string>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>use ID = -1 with empty Name for accepting optional specification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassName</ParameterName>
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes>
            <string>Required(AllowEmptyStrings := false, ErrorMessage := "Must fill.")</string>
          </Attributes>
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocClassEditColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClassEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClassEdit</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocClassEdit</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRootCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocClassEditDynaColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyDynamicListBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyDynamicBindingListBase&lt;ITEM&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassEditDynaColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocClassEditDynaColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocClassEditDyna</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>DocClassList</string>
        <string>DocClassNVL</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClassEditDynaColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClassEditDynaColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocClassEditDyna</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Classes of document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>System.ComponentModel.DataAnnotations</string>
        <string>Csla.Rules.CommonRules</string>
        <string>CslaGenFork.Rules.CollectionRules</string>
        <string>CslaGenFork.Rules.TransformationRules</string>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName>MyBusinessBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassEditDyna</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserAllNVL.GetUserAllNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserAllNVL.GetUserAllNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>use ID = -1 with empty Name for accepting optional specification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassName</ParameterName>
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes>
            <string>Required(AllowEmptyStrings := false, ErrorMessage := "Must fill.")</string>
          </Attributes>
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassName</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>NoDuplicates</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>NoDuplicates</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassName</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassName</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocClassName</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <MessageText>There shall be only one!</MessageText>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Private</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsInternal</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaDelete</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocClassID</ParameterName>
              <Name>DocClassID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocClassID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocClasses</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocClassEditDyna</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocClassEditDynaColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClassEditDyna</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClassEditDyna</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Admin</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Admin</UpdateRoles>
      <DeleteRoles>Admin</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocClassList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of document class's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetDocClassList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocClassName</ParameterName>
              <Name>DocClassName</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>20</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocClassName</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>DocClasses</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocClassList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocClassInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocClassInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document class basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassName</ParameterName>
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>DocClassList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocClassNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active document classes</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyNameValueListBase&lt;KEY,VALUE&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocClassID</ParameterName>
          <Name>DocClassID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocClassName</ParameterName>
          <Name>DocClassName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocClassName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocClasses</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Class Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocClassNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>DocClassID</ValueColumn>
      <NameColumn>DocClassName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocClassEditCollGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Admin</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocClassEditCollGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>DocClassEditColl</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>DocClassEditColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>UserNVL</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>UserNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocClassEditCollGetter</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocClassEditCollGetter</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocStatusColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocStatusColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocStatusColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocStatus</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocStatusColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocStatusColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocStatus</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocStatus</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocStatusID</ParameterName>
          <Name>DocStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocStatusName</ParameterName>
          <Name>DocStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocStatusColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocStatus</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocStatus</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocStatus</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocStatusEditDynaColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyDynamicListBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyDynamicBindingListBase&lt;ITEM&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocStatusEditDynaColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocStatusEditDynaColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocStatusEditDyna</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocStatusEditDynaColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocStatusEditDynaColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocStatusEditDyna</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces>
        <string>IHaveInterface</string>
        <string>IHaveGenericInterface&lt;T&gt;</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocStatusEditDyna</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocStatusID</ParameterName>
          <Name>DocStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocStatusName</ParameterName>
          <Name>DocStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaDelete</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocStatusID</ParameterName>
              <Name>DocStatusID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocStatusID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocStatus</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocStatusEditDyna</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocStatusEditDynaColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocStatusEditDyna</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocStatusEditDyna</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocStatusNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active document statuses</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocStatusNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocStatusID</ParameterName>
          <Name>DocStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocStatusName</ParameterName>
          <Name>DocStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocStatusName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Status Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocStatusNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>DocStatusID</ValueColumn>
      <NameColumn>DocStatusName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocType</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document type</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyBusinessBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocType</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocTypeID</ParameterName>
              <Name>DocTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocTypeID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocTypes</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocType</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocType</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocType</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocType</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Manager</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Manager</UpdateRoles>
      <DeleteRoles>Admin</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocTypeEditColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of document types</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeEditColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocTypeEditColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocTypeEdit</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>DocTypeList</string>
        <string>DocTypeNVL</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocTypeEditColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocTypeEditColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocTypeEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Types of document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>System.ComponentModel.DataAnnotations</string>
        <string>Csla.Rules.CommonRules</string>
        <string>CslaGenFork.Rules.CollectionRules</string>
        <string>CslaGenFork.Rules.TransformationRules</string>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserAllNVL.GetUserAllNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserAllNVL.GetUserAllNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes>
            <string>Required(AllowEmptyStrings := false, ErrorMessage := "Must fill.")</string>
          </Attributes>
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeName</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>NoDuplicates</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>NoDuplicates</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeName</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeName</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">DocTypeName</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <MessageText>There shall be only one!</MessageText>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocTypeEditColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocTypeEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocTypeEdit</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocTypeEdit</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocTypeEditDynaColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeEditDynaColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocTypeEditDynaColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocTypeEditDyna</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocTypeEditDynaColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocTypeEditDynaColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>DocTypeEditDyna</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Types of document</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyBusinessBase&lt;OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeEditDyna</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of creation</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the creating user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Date of last change</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>ID of the last changing user</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Row version counter for concurrency control</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaDelete</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocTypeID</ParameterName>
              <Name>DocTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocTypeID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocTypes</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteDocTypeEditDyna</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>DocTypeEditDynaColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocTypeEditDyna</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocTypeEditDyna</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocTypeList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of document type's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetDocTypeList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocTypeName</ParameterName>
              <Name>DocTypeName</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>255</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocTypeName</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>DocTypes</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocTypeList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>DocTypeInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocTypeInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document type basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>DocTypeList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>DocTypeNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active document types</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>DocTypeNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocTypeID</ParameterName>
          <Name>DocTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocTypeName</ParameterName>
          <Name>DocTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetDocTypeNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>DocTypeID</ValueColumn>
      <NameColumn>DocTypeName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>Folder</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>Csla.Rules.CommonRules</string>
        <string>CslaGenFork.Rules.TransformationRules</string>
        <string>CslaGenFork.Rules.CompareFieldsRules</string>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>Folder</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Docs</ParameterName>
          <Name>Docs</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Docs</FriendlyName>
          <TypeName>FolderDocColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>SelfLoad</LoadingScheme>
          <LazyLoad>true</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>Criteria</CriteriaName>
              <PropertyName>FolderID</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
        <ChildProperty>
          <ParameterName>Circulations</ParameterName>
          <Name>Circulations</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Circulations</FriendlyName>
          <TypeName>FolderCircColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>Criteria</CriteriaName>
              <PropertyName>FolderID</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderTypeID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderTypeID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderTypeID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderRef</ParameterName>
          <Name>FolderRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Warning</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>MaxLength</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>MaxLength</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">25</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderRef</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Year</ParameterName>
          <Name>Year</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Year</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Year</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Date.Today.Year</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>RegExMatch</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Range&lt;MIN,MAX&gt;</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>Range&lt;MIN,MAX&gt;</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>min</Name>
                      <Type>MIN</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Int32</GenericType>
                      <Value xsi:type="xsd:string">2005</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>MAX</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Int32</GenericType>
                      <Value xsi:type="xsd:string">2010</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>min</Name>
                      <Type>MIN</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>MAX</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Year</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>min</Name>
                      <Type>MIN</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>MAX</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>true</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties>
                <BusinessRuleProperty>
                  <Name>Format</Name>
                  <Type>String</Type>
                  <IsGenericType>false</IsGenericType>
                  <IsGenericParameter>false</IsGenericParameter>
                </BusinessRuleProperty>
              </RuleProperties>
              <Severity>Information</Severity>
              <MessageText>Não pode ser antes de 2005 nem depois de 2010</MessageText>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>CollapseWhiteSpace</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\CslaGenFork.Rules.dll</AssemblyFile>
              <Type>CollapseWhiteSpace</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>-1</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>MaxLength</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>MaxLength</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">255</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">Subject</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>max</Name>
                      <Type>Int32</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:int">0</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderStatusID</ParameterName>
          <Name>FolderStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderStatusID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules>
            <BusinessRule>
              <BaseRuleProperties>
                <string>Severity</string>
                <string>MessageText</string>
                <string>MessageDelegate</string>
                <string>CanRunAsAffectedProperty</string>
                <string>CanRunOnServer</string>
                <string>CanRunInCheckRules</string>
                <string>PrimaryProperty</string>
                <string>Priority</string>
                <string>RunMode</string>
              </BaseRuleProperties>
              <Name>Required</Name>
              <ObjectName />
              <AssemblyFile>C:\VS Projects\DocStore\DocStore-4.3\Generation\RulesLibraries\Csla.dll</AssemblyFile>
              <Type>Required</Type>
              <Constructors>
                <BusinessRuleConstructor>
                  <Name>Constructor #1 (Active)</Name>
                  <IsActive>true</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderStatusID</Value>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #2</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderStatusID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>message</Name>
                      <Type>String</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
                <BusinessRuleConstructor>
                  <Name>Constructor #3</Name>
                  <IsActive>false</IsActive>
                  <ConstructorParameters>
                    <BusinessRuleConstructorParameter>
                      <Name>primaryProperty</Name>
                      <Type>IPropertyInfo</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>false</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string">FolderStatusID</Value>
                    </BusinessRuleConstructorParameter>
                    <BusinessRuleConstructorParameter>
                      <Name>messageDelegate</Name>
                      <Type>Func&lt;String&gt;</Type>
                      <IsParams>false</IsParams>
                      <IsGenericType>false</IsGenericType>
                      <IsGenericParameter>true</IsGenericParameter>
                      <GenericType>Empty</GenericType>
                      <Value xsi:type="xsd:string" />
                    </BusinessRuleConstructorParameter>
                  </ConstructorParameters>
                </BusinessRuleConstructor>
              </Constructors>
              <RuleProperties />
              <Severity>Error</Severity>
              <CanRunAsAffectedProperty>true</CanRunAsAffectedProperty>
              <CanRunOnServer>true</CanRunOnServer>
              <CanRunInCheckRules>true</CanRunInCheckRules>
              <Priority>0</Priority>
              <RunMode>Default</RunMode>
              <AffectedProperties />
              <InputProperties />
              <IsAsync>false</IsAsync>
              <ProvideTargetWhenAsync>false</ProvideTargetWhenAsync>
            </BusinessRule>
          </BusinessRules>
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderID</ParameterName>
              <Name>FolderID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolder</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteFolder</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>FolderList</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolder</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolder</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Archivist</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Archivist</UpdateRoles>
      <DeleteRoles>Admin, Manager</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderDocColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of documents archived in this folder</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>UsingLibrary</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName>MyBusinessListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName>MyBusinessBindingListBase&lt;LIST,OBJ&gt;</ObjectName>
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderDocColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderID</ParameterName>
              <Name>FolderID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocsFolders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderDocColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>Folder</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderDoc</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderDocColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderDocColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>false</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderDoc</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Document archived in this folder</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderDoc</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>DocID</ParameterName>
          <Name>DocID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocRef</ParameterName>
          <Name>DocRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>40</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Ref</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DocDate</ParameterName>
          <Name>DocDate</Name>
          <PropertyType>DateTime</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DocDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Doc Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Docs</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>DocsFolders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>DocID</ParameterName>
              <Name>DocID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>DocID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>DocsFolders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>FolderDocColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddDocFolderRelation</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateDocFolderRelation</UpdateProcedureName>
      <DeleteProcedureName>DeleteDocFolderRelation</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Archivist</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Author</UpdateRoles>
      <DeleteRoles>Admin,Manager</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderCircColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of circulations of this folder</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderCircColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>Folder</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderCirc</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>true</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderCircColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderCircColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderCirc</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Circulations</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Circulation of this folder</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderCirc</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CircID</ParameterName>
          <Name>CircID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReply</ParameterName>
          <Name>NeedsReply</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>NeedsReplyDecision</ParameterName>
          <Name>NeedsReplyDecision</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>NeedsReplyDecision</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Needs Reply Decision</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CircTypeTag</ParameterName>
          <Name>CircTypeTag</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CircTypeTag</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Circ Type Tag</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Notes</ParameterName>
          <Name>Notes</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Notes</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Notes</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>TagNotesCert</ParameterName>
          <Name>TagNotesCert</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>-1</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>TagNotesCert</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Tag Notes Cert</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SenderEntityID</ParameterName>
          <Name>SenderEntityID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SenderEntityID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sender Entity ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SentDateTime</ParameterName>
          <Name>SentDateTime</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SentDateTime</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Sent Date Time</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToReply</ParameterName>
          <Name>DaysToReply</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToReply</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Reply</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>DaysToLive</ParameterName>
          <Name>DaysToLive</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>DaysToLive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Days To Live</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Circ</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>true</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>FolderCircColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderCirc</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderCirc</UpdateProcedureName>
      <DeleteProcedureName>DeleteFolderCirc</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of folder's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetFolderList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteria</Name>
          <CriteriaClassMode>CriteriaBase</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderTypeID</ParameterName>
              <Name>FolderTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderTypeID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>FolderRef</ParameterName>
              <Name>FolderRef</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>25</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderRef</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>Year</ParameterName>
              <Name>Year</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Year</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>Subject</ParameterName>
              <Name>Subject</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>255</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Subject</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>FolderStatusID</ParameterName>
              <Name>FolderStatusID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderStatusID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>CreateDate</ParameterName>
              <Name>CreateDate</Name>
              <PropertyType>SmartDate</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>DateTime2</DataType>
                <NativeType>datetime2</NativeType>
                <Size>7</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CreateDate</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>CreateUserID</ParameterName>
              <Name>CreateUserID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CreateUserID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>ChangeDate</ParameterName>
              <Name>ChangeDate</Name>
              <PropertyType>SmartDate</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>DateTime2</DataType>
                <NativeType>datetime2</NativeType>
                <Size>7</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ChangeDate</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>ChangeUserID</ParameterName>
              <Name>ChangeUserID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ChangeUserID</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Folders</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Folder basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>FolderTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>FolderType</BaseName>
          <SourcePropertyName>FolderTypeID</SourcePropertyName>
          <NVLConverter>FolderTypeNVL.GetFolderTypeNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>FolderStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Status Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>FolderStatus</BaseName>
          <SourcePropertyName>FolderStatusID</SourcePropertyName>
          <NVLConverter>FolderStatusNVL.GetFolderStatusNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderID</ParameterName>
          <Name>FolderID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderRef</ParameterName>
          <Name>FolderRef</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderRef</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>FolderRef</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Year</ParameterName>
          <Name>Year</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Year</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Year</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Subject</ParameterName>
          <Name>Subject</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Subject</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Subject</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderStatusID</ParameterName>
          <Name>FolderStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderStatusID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Folders</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>FolderList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderStatusNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active folder statuses</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderStatusNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderStatusID</ParameterName>
          <Name>FolderStatusID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderStatusID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>FolderStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Status ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderStatusName</ParameterName>
          <Name>FolderStatusName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>25</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderStatusName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderStatus</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Status Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderStatusNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>FolderStatusID</ValueColumn>
      <NameColumn>FolderStatusName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderType</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Folder type</ClassSummary>
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderType</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>Admin.UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderTypeName</ParameterName>
          <Name>FolderTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderTypeID</ParameterName>
              <Name>FolderTypeID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderTypeID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>FolderTypes</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderType</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteFolderType</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddFolderType</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateFolderType</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderTypeName</ParameterName>
          <Name>FolderTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Manager</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Manager</UpdateRoles>
      <DeleteRoles>Admin</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderTypeList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of folder type's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderTypeList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetFolderTypeList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>FolderTypeName</ParameterName>
              <Name>FolderTypeName</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>255</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>FolderTypeName</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>FolderTypes</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderTypeList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>FolderTypeInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderTypeInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Folder type basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderTypeInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderTypeName</ParameterName>
          <Name>FolderTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>FolderTypeList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>FolderTypeNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active folder types</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>FolderTypeNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>FolderTypeID</ParameterName>
          <Name>FolderTypeID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FolderTypeName</ParameterName>
          <Name>FolderTypeName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>255</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FolderTypeName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>FolderTypes</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Folder Type Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetFolderTypeNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>FolderTypeID</ValueColumn>
      <NameColumn>FolderTypeName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>User</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>User</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Login</ParameterName>
          <Name>Login</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>30</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Login</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Login</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Picture</ParameterName>
          <Name>Picture</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Picture</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>New Byte() {}</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Email</ParameterName>
          <Name>Email</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Email</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Email</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>UserID</ParameterName>
              <Name>UserID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>UserID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetUser</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteUser</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddUser</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateUser</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Manager</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Manager</UpdateRoles>
      <DeleteRoles>Admin</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>UserList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of user's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>UserList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetUserList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteria</Name>
          <CriteriaClassMode>CriteriaBase</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>Name</ParameterName>
              <Name>Name</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>50</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Name</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>Login</ParameterName>
              <Name>Login</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>30</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Login</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>Email</ParameterName>
              <Name>Email</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>50</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Email</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>IsActive</ParameterName>
              <Name>IsActive</Name>
              <PropertyType>Boolean</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>true</Nullable>
              <Summary>Gets or sets the active or deleted state.</Summary>
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Boolean</DataType>
                <NativeType>bit</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>IsActive</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetUserList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaInactive</Name>
          <CriteriaClassMode>CriteriaBase</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>Name</ParameterName>
              <Name>Name</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>50</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Name</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
            <Property>
              <ParameterName>IsActive</ParameterName>
              <Name>IsActive</Name>
              <PropertyType>Boolean</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary>Gets the active or deleted state.</Summary>
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Boolean</DataType>
                <NativeType>bit</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>IsActive</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue>false</ParameterValue>
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>GetUserList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>UserInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>UserInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>User basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>UserInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Login</ParameterName>
          <Name>Login</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>30</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Login</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Login</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Email</ParameterName>
          <Name>Email</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Email</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Email</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>UserList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>UserNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Active users</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>UserNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetUserNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>UserID</ValueColumn>
      <NameColumn>Name</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>UserAllNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>All users (regardless of active status)</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>UserAllNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Is Active</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetUserAllNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteUserAllNVL</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>UserID</ValueColumn>
      <NameColumn>Name</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>UserInactiveNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Inactive users</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>UserInactiveNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>UserID</ParameterName>
          <Name>UserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UserID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Users</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>IsActive</ParameterName>
              <Name>IsActive</Name>
              <PropertyType>Boolean</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary>Gets the active or deleted state.</Summary>
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Boolean</DataType>
                <NativeType>bit</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>IsActive</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Users</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue>false</ParameterValue>
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetUserInactiveNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteUserInactiveNVL</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>UserID</ValueColumn>
      <NameColumn>Name</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>Role</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces>
        <string>DocStore.Business.Security</string>
      </Namespaces>
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>Role</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties>
        <ConvertValueProperty>
          <ParameterName />
          <Name>CreateUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>CreateUser</BaseName>
          <SourcePropertyName>CreateUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
        <ConvertValueProperty>
          <ParameterName />
          <Name>ChangeUserName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User Name</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
          <BaseName>ChangeUser</BaseName>
          <SourcePropertyName>ChangeUserID</SourcePropertyName>
          <NVLConverter>UserNVL.GetUserNVL</NVLConverter>
        </ConvertValueProperty>
      </ConvertValueProperties>
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>RoleID</ParameterName>
          <Name>RoleID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RoleName</ParameterName>
          <Name>RoleName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets or sets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(Date.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUserID</ParameterName>
          <Name>CreateUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUserID</ParameterName>
          <Name>ChangeUserID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUserID</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUserID</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>RoleID</ParameterName>
              <Name>RoleID</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>RoleID</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Roles</ObjectName>
                <CatalogName>DocStore</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetRole</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteRole</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddRole</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateRole</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty>
        <Property xsi:type="ValueProperty">
          <ParameterName>RoleName</ParameterName>
          <Name>RoleName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </ToStringProperty>
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles>Manager</NewRoles>
      <GetRoles>User</GetRoles>
      <UpdateRoles>Manager</UpdateRoles>
      <DeleteRoles>Admin</DeleteRoles>
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>RoleList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Collection of role's basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>RoleList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetRoleList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteRoleList</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>RoleInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>RoleID</ParameterName>
          <Name>RoleID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>AutoProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>RoleInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Role basic information</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>RoleInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>RoleID</ParameterName>
          <Name>RoleID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>-1</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RoleName</ParameterName>
          <Name>RoleName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Gets the active or deleted state.</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>IsActive</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>RoleList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles>User</GetRoles>
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>RoleNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>DocStore.Business.Admin</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary>Roles for users</ClassSummary>
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>RoleNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>RoleID</ParameterName>
          <Name>RoleID</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleID</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role ID</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RoleName</ParameterName>
          <Name>RoleName</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RoleName</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Roles</ObjectName>
            <CatalogName>DocStore</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Role Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetRoleNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName>DeleteRoleNVL</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>RoleID</ValueColumn>
      <NameColumn>RoleName</NameColumn>
      <PersistenceType>SqlConnectionUnshared</PersistenceType>
      <CommandTimeout />
      <TransactionType>ADO</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
  </CslaObjects>
  <AssociativeEntities />
  <ConnectionString>Server=(local);Database=DocStore;persist security info=False;user id=sa;password=password_1234;packet size=4096</ConnectionString>
  <ProjectName>Inherits VB</ProjectName>
  <TargetDirectory>..\Inherits\Inherits-WIN-VB</TargetDirectory>
  <FileVersion>4.0.6</FileVersion>
</CslaGeneratorUnit>